home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn Microsoft Visual Basic 6.0 Now
/
Learn Microsoft Visual Basic 6.0 Now (Microsoft Press)(X03-58607)(1998).ISO
/
media
/
chap07
/
b07a010.cc2
< prev
next >
Wrap
Text File
|
1998-06-07
|
2KB
|
49 lines
0, Forms are the windows your program uses
2, to display information and solicit
4, input. Although one form will often do the
7, trick, most full-featured programs use
10, several forms to present output. In Visual
13, Basic, each new form is classified as an
15, object and maintains its own objects,
18, properties, and event procedures. In
21, addition, each new form is stored in its own
23, file, so that you can use one form in
26, many projects. You can use a new form for
30, a splash screen, which welcomes users
33, to your program and displays introductory
36, artwork or copyright information. Or,
39, you can use a new form to display Help
41, content, operating instructions, or useful
44, tips about how your program works. You
48, can also create a custom dialog box with
50, a new form to prompt the user for input
53, or display output in a special format.
57, For example, you might create a custom
58, Search dialog box that lets users search
61, for important values. And you can use
65, extra forms to display documents and
67, artwork. For example, you might use a form to
70, display enlarged bitmaps or to create a
73, Print Preview window. You also have
77, flexibility in how you display your forms.
81, You can make all of the forms in a
82, program visible at the same time or you can
85, load and unload forms as they are needed
88, by the application. If you want to allow
92, the user to switch away from a form
94, without closing it, you can open it as a
96, nonmodal form. Nonmodal is the default
101, setting for Visual Basic to give users
103, flexibility in how they run their programs.
107, A preview or Help window is a good
109, example of a non-modal form. A modal form
114, requires the user to make a choice before
116, continuing with the program. Modal forms
119, are useful for displaying messages the
121, user might respond to before proceeding.
124, For example, a dialog box that asks you
126, to verify the placement of an order
129, might well be a modal form. In this chapter,
133, you will learn how to add modal and
134, nonmodal forms to your application.
138, END